package com.dd.cloud.user.res.drugs;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 药品出库记录表 订单记录
 * </p>
 *
 * @author czg
 * @since 2022-05-09
 */
@Data
public class DrugsOutboundOrderPageRes implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 中药模型表 记录中药材的基本情况
     */
    private Integer id;

    /**
     * 药房id
     */
    private Integer pharId;

    /**
     * 药材名称
     */
    @Excel(name = "药品名称", width = 10, orderNum = "2")
    private String herbName;

    /**
     * 药材编码
     */
    @Excel(name = "药品编号", width = 30, orderNum = "1")
    private String drugnum;

    /**
     * 订单编号
     */
    @Excel(name = "订单编号", width = 30, orderNum = "0")
    private String orderNo;

    /**
     * 药材单位
     */
    @Excel(name = "单位", width = 10, orderNum = "3")
    private String useUnit;

    /**
     * 规格
     */
    private String specification;


    /**
     * 药材单价
     */
    @Excel(name = "销售单价", width = 20, orderNum = "4")
    private BigDecimal price;

    /**
     * 出库金额
     */
    @Excel(name = "出库金额", width = 20, orderNum = "6")
    private BigDecimal outboundPrice;


    /**
     * 出库数量
     */
    @Excel(name = "出库数量", width = 10, orderNum = "5")
    private Integer outQty;

    /**
     * 创建日期
     */
    @Excel(name = "出库时间", width = 20, orderNum = "6")
    private LocalDateTime createDate;

    /**
     * 医生id
     */
    private Integer DoctorId;

    /**
     * 是否折扣
     */
    private Boolean isCount;

}
